package com.pingan.internal.point.shopping.repository;


import com.pingan.internal.point.shopping.entity.GoodsOrder;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;


public interface GoodsOrderRepository extends JpaRepository<GoodsOrder, Long> {

    List<GoodsOrder> findByUsername(String username);

    GoodsOrder findByOrderSn(String orderSn);

}
